package kaist.sep521.lego.circlebicycle;

public class User {
	private String id = null;
	private String nickname = null;
	private double latitude = 0.0f;
	private double longitude = 0.0f;
	// status 0 : running, 1 : rest, 2 : repair, 99 : destination
	private int status;
	private String group = null;
	private int voice;
	private boolean shareLocation = true;

	// set value
	public void setID(String id) {
		this.id = id;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public void setStatus(int status) {

		this.status = status;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public void setVoice(int voice) {
		this.voice = voice;
	}

	public boolean setShareLocation(boolean status) {
		return this.shareLocation = status;
	}

	// get value
	public String getID() {
		return this.id;
	}

	public String getNickname() {
		return this.nickname;
	}

	public double getLatitude() {
		return this.latitude;
	}

	public double getLongitude() {
		return this.longitude;
	}

	public int getStatus() {
		return this.status;
	}

	public String getGroup() {
		return this.group;
	}

	public boolean getShareLocation() {
		return this.shareLocation;
	}

	public int getVoice() {
		return this.voice;
	}

}
